import { defineConfig } from 'tsdown';

export default defineConfig({
  entry: 'src/index.ts',
  format: ['esm', 'cjs'],
  outDir: 'lib',
  dts: true,
  clean: true,
  minify: true,
  external: [
    'react',
    'react-dom'
  ]
}); 